package com.readseek.web.config;

import com.jfinal.config.Constants;
import com.jfinal.config.Handlers;
import com.jfinal.config.Interceptors;
import com.jfinal.config.JFinalConfig;
import com.jfinal.config.Plugins;
import com.jfinal.config.Routes;
import com.jfinal.render.ViewType;

/**
 * web全局配置
 * @author tangkunyin
 */
public class WebGlobalConfig extends JFinalConfig{

	@Override
	public void configConstant(Constants cons) {
		cons.setEncoding("UTF-8");
		cons.setDevMode(true);
		cons.setViewType(ViewType.JSP);
	}
	
	@Override
	public void configRoute(Routes configr) {
				
	}
	
	@Override
	public void configPlugin(Plugins configp) {
		
	}

	@Override
	public void configInterceptor(Interceptors interc) {
		
	}

	@Override
	public void configHandler(Handlers handl) {
		
	}
}
